package com.pink.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pink.entity.dto.UserDto;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<UserDto> {

    @Delete("delete from user where user_id = #{id}")
    void removeByUserId(Integer id);
}
